import _fetch from './request'

function getOutlineList(params) {
    return _fetch({
        url: "/question/list",
        params
    })
}

function getQuestionAdd(data) {
    return _fetch({
        url: "/question/add",
        method: "post",
        data
    })
}
function getQuestionEdit(data) {
    return _fetch({
        url: "/question/edit",
        method: "post",
        data
    })
}
function getQuestionDel(data) {
    return _fetch({
        url: "/question/remove",
        method: "post",
        data
    })
}
function getQuestionStatus(data) {
    return _fetch({
        url: "/question/status",
        method: "post",
        data
    })
}
export { getOutlineList, getQuestionAdd, getQuestionEdit, getQuestionDel, getQuestionStatus }